<div class="cont">
    <!--二级标题-->
    <style type="text/css">
        .add_obj {
            position: absolute;
            right: -26px;
            top: 5px;
            cursor: pointer;
        }
        
        .message_all {
            margin-top: 10px;
        }
        
        .message_left {
            float: left;
            margin-right: 10px;
            background: #fff;
            width: calc(100% - 410px);
            padding: 12px;
            min-height: 700px;
            margin-bottom: 12px;
        }
        
        .message_right {
            float: left;
            width: 400px;
            background: #fff;
            border: 1px solid #d4d4d5;
            border-radius: 4px;
            min-height: 700px;
        }
        
        .ui.send.menu {
            background: #fff;
            color: #333
        }
        
        .ui.send.menu span {
            line-height: 38px;
            margin-left: 60px;
            color: #666;
            float: left;
        }
        
        .mt12 {
            margin-top: 12px;
        }
        
        .imgsegment_add {
            padding: 20px 0;
            text-align: center;
        }
        
        .imgsegment_add i {
            cursor: pointer;
        }
        
        .imgsegment_up {
            display: none;
            margin: 10px 0;
        }
        
        .imgsegment_up img,
        .imgsegment_up span {
            vertical-align: middle;
            margin-left: 12px;
        }
        
        .show_top {
            position: relative;
            border-bottom: 1px solid #e5e5e5;
        }
        
        .covertext {
            background: #eee;
            height: 100%
        }
        
        .covertext p {
            text-align: center;
            color: #666;
        }
        
        .covertext p:nth-child(1) {
            padding-top: 50px;
        }
        
        .coverimg {
            margin: 10px;
            border: 1px solid #ccc;
            position: relative;
            height: 190px;
            overflow: hidden;
        }
        
        .coverimg img {
            width: 100%
        }
        
        .covertitle {
            position: absolute;
            bottom: 0;
            height: 40px;
            line-height: 40px;
            background: #000;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            opacity: .5;
            width: 100%;
            color: #fff;
            padding: 0 12px
        }
        
        .show_top .item_action {
            height: 40px;
            line-height: 40px;
            position: absolute;
            bottom: 0;
            width: 100%;
            background: rgba(34, 37, 40, .4);
            color: #fff;
            display: none;
        }
        
        .show_top:hover .item_action {
            display: block;
        }
        
        .show_top .item_action i {
            cursor: pointer;
            opacity: 0.8;
        }
        
        .show_top .item_action span {
            width: 80px;
            display: inline-block;
            display: none;
        }
        
        .show_top .item_action .trash {
            margin-left: 284px;
        }
        
        .show_item {
            height: 100px;
            overflow: hidden;
            border-bottom: 1px solid #e5e5e5;
            position: relative;
        }
        
        .show_item .box {
            margin: 10px;
        }
        
        .show_item .box .img {
            overflow: hidden;
            float: right;
            width: 80px;
            height: 80px;
            background: #eee;
        }
        
        .show_item .box .img img {
            width: 100%;
        }
        
        .show_item .item_action {
            height: 40px;
            line-height: 40px;
            position: absolute;
            bottom: 0;
            width: 100%;
            background: rgba(34, 37, 40, .4);
            color: #fff;
            display: none;
        }
        
        .show_item .item_action i {
            cursor: pointer;
            opacity: 0.8;
        }
        
        .show_item .item_action span {
            width: 80px;
            display: inline-block;
        }
        
        .show_item .item_action .trash {
            margin-left: 360px;
        }
        
        .show_item:hover .item_action {
            display: block;
        }
        
        .show_bottom {
            color: #666;
            height: 100px;
            overflow: hidden;
            border-bottom: 1px solid #e5e5e5;
            position: relative;
        }
        
        .show_bottom .add_item {
            margin: 10px;
            border: 1px dashed #eee;
            height: 80px;
            line-height: 80px;
            text-align: center;
            cursor: pointer;
        }
        
        .show_bottom .item_action {
            height: 40px;
            line-height: 40px;
            position: absolute;
            bottom: 0;
            width: 100%;
            background: rgba(34, 37, 40, .4);
            color: #fff;
            display: none;
        }
        
        .show_bottom .item_action i {
            cursor: pointer;
            opacity: 0.8;
        }
        
        .show_bottom .item_action span {
            width: 80px;
            display: inline-block;
        }
        
        .show_bottom .item_action .trash {
            margin-left: 284px;
        }
        
        .show_bottom:hover .item_action {
            display: block;
        }
        
        .add.modal .ui.checkbox {
            line-height: 22px;
            display: block;
            border-bottom: 1px solid #eee;
        }
        
        .add.modal .ui.checkbox label {
            padding-left: 4px
        }
        
        .add.modal .ui.checkbox label:before {
            top: 3px;
            right: 4px;
            left: inherit;
        }
        
        .add.modal .ui.checkbox label:after {
            right: 4px;
            left: inherit;
        }
        
        .add.modal .ui.checkbox input[type=checkbox],
        .ui.checkbox input[type=radio] {
            right: 4px;
            left: inherit;
        }
        
        .add.modal .ui.tab {
            max-height: 420px;
            overflow: auto;
        }
        
        .delivery.modal .content {
            max-height: 600px;
            overflow: auto;
        }
        
        .delivery.modal .del_wrap {
            display: flex;
        }
        
        .delivery.modal .del_left {
            flex: 0.25;
            border-right: 1px solid #666;
            padding-right: 2%
        }
        
        .delivery.modal .del_right {
            flex: 0.75;
            padding-left: 2%;
        }
        
        .add_img {
            position: relative;
        }
        
        .addfile span {
            margin-left: 8px;
        }
        
        .addfile i {
            cursor: pointer;
        }
        
        .add_img .x_icon {
            position: absolute;
            right: 0;
            top: 0;
            background: url(dist/images/x_icon.png);
            width: 20px;
            height: 20px;
            cursor: pointer;
        }
        
        .ui.button.time_send {
            outline: none;
            background: #39A0ED;
            border-radius: 16px;
            padding: 0 18px;
            height: 32px;
            line-height: 32px;
            border: none;
            color: #fff;
            margin-left: 64px;
        }
        
        .ui.button.time_send:hover {
            background: #078ef2
        }
        
        .ui.tiny.breadcrumb {
            line-height: 32px;
            border-bottom: 1px solid #eee;
            display: block;
        }
        
        .ui.multiple.search.dropdown>input.search {
            margin: 0;
        }
        
        .show_img {
            margin: 20px 40px;
            padding: 10px;
            border-radius: 4px;
            border: 1px solid #ccc
        }
        
        .show_img img {
            width: 300px;
        }
        
        .ui.accordion .accordion {
            margin: 0;
        }
        
        .ui.accordion:not(.styled) .accordion .title~.content:not(.ui),
        .ui.accordion:not(.styled) .title~.content:not(.ui) {
            padding: 0;
        }
        
        .ui.accordion .checked.title:not(.ui) {
            color: #39a0ed;
        }
        
        i.icon {
            margin: 0 .25rem 0 0.25rem
        }
    </style>
    <div class="position " id="page_title">
        <img alt="位置图标" src="dist/images/position.png" />企业号&gt;消息发送
        <!--<a ng-click="openDetail()" ng-hide="$needClientCache" title="打开新窗口查看">
            <i class="large External icon"></i>
        </a>-->
    </div>
    <!-- 搜索区域 -->
    <div class="cont_fr_top">
        <div class="menus">
            <div class="menus_con">
                <div class="ui form">
                    <div class="three fields">
                        <div class="inline field">
                            <label style="margin-left: 1em">企业号</label>
                            <div class="ui input">
                                <select name="skills" class="ui dropdown" ng-options="cp.qy_code as cp.qy_name for cp in companyaccount" ng-model="qyaccount" id="firstdropdown">
                                    <option value="" selected disabled hidden>请选择</option>
                                </select>
                            </div>
                        </div>
                        <div class="inline field">
                            <label>栏目</label>
                            <div class="ui input">
                                <select name="skills" class="ui dropdown" ng-model="qyapp" id="qyapp">
                                    <option value="" selected disabled hidden>请选择</option>
                                    <option value="{{qy.qy_app_id}}" ng-repeat="qy in qyapplist">{{qy.qy_app_name}}({{qy.qy_name}})</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="fields">
                        <div class="inline field" style="position: relative;">
                            <label>发送对象</label>
                            <div class="ui input" style="width: 700px">
                                <select name="skills" multiple="" class="ui fluid search dropdown" id="sendobjectdropdown">
                                    <option value="">搜索套餐、标签或订户</option>
                                    <option value="{{qyobj.val}}" ng-repeat="qyobj in qyappobject">{{qyobj.name}}</option>
                                </select>
                            </div>
                            <div class="add_obj" ng-click="addobject()"><i class="add large icon"></i></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 图文区域 -->
    <div class="message_all clearfix">
        <div class="message_left">
            <form name="messagesend" id="messagesend">
                <div class="ui large pointing secondary menu send">
                    <a class="item active" data-tab="first" ng-click="messagesendlistnum(sign.first)">图文</a>
                    <a class="item" data-tab="second" ng-click="messagesendlistnum(sign.second)">文件</a>
                    <a class="item" data-tab="third" ng-click="messagesendlistnum(sign.third)">外链</a>
                    <a class="item" data-tab="four" ng-click="messagesendlistnum(sign.forth)">文字</a>
                    <a class="item" data-tab="five" ng-click="messagesendlistnum(sign.fifth)">图片</a>
                    <span class="choice_cont"><a ng-click="choicefromkp(signnum)" ng-if="signnum == 1 || signnum ==2 || signnum ==3">从知识库中选择</a></span>
                </div>
                <div class="ui form mt12">
                    <!--图文部分-->
                    <div class="ui tab segment active" data-tab="first">
                        <div class="inline field required">
                            <label>文章标题</label>
                            <input type="text" placeholder="最多可输入64个字" name="articaltitle" ng-model="title" maxlength="64" style="width: calc(100% - 78px)">
                        </div>
                        <div class="inline fields">
                            <label style="margin-right: 2em;">封面图片</label>
                            <button class="cont_f_btn1" id="imguploadbutton" ngf-select="addImgChange($file,sign.first)" ngf-pattern="'.gif,.GIF,.jpg,.JPG,.jpeg,.JPEG,.bmp,BMP,.png,.PNG,.swf,.SWF'" ng-model='file' ngf-accept="'.gif,.GIF,.jpg,.JPG,.jpeg,.JPEG,.bmp,BMP,.png,.PNG,.swf,.SWF'">上传图片</button>
                            <div class="ui checkbox" style="margin-left:10px" ng-click="is_display()">
                                <input type="checkbox" name="addfirsttabchk" id="addfirsttabchk" ng-disabled="chkdisabled">
                                <label>是否在正文显示</label>
                            </div>
                            <div class="ui icon message" ng-show="is_uploadingimg">
                                <i class="notched circle loading icon"></i>
                                <div class="content">
                                    <div class="header">请耐心等待，文件正在上传中....</div>
                                </div>
                            </div>
                        </div>
                        <div class="inline fields">
                            <div class="cover_img">
                                <div class="add_img" ng-if="previewfile">
                                    <img ngf-src="previewfile" width="108px" height="108px" />
                                    <div class="x_icon" ng-click="delFirstImg()"></div>
                                </div>
                            </div>
                        </div>
                        <div class="inline field required">
                            <label>文章作者</label>
                            <input type="text" placeholder="最多可输入8个字" name="articalauthor" ng-model="author" maxlength="8" style="width: calc(100% - 78px)">
                        </div>
                        <div class="field">
                            <label class="fl">摘要上传</label><span class="fl">（若不填写，默认抓取前54个字）</span>
                            <textarea ng-model="abstract" rows="2" name="articalabstract" placeholder="最多可输入120个字" maxlength="120"></textarea>
                        </div>
                        <div class="field required">
                            <label>文章正文</label>
                            <div id="add_tempaltevalue" name="articaltemplete" ng-model="templete" contenteditable ng-Model="richtxtAdd" style="height:200px;"></div>
                            <input type="hidden" id="add_tempalte" name="add_tempalte" />
                        </div>
                        <!--<div class="inline fields">
                            <label style="margin-right: 1.2em;">附件上传</label>
                            <button class="cont_f_btn1" ngf-select="addChange($file)" ngf-select name="import_file" ngf-pattern="'.txt,.pdf,.zip,.doc,.ppt,.xls,.docx,.pptx,.xlsx'" ngf-accept="'.txt,.pdf,.zip,.doc,.ppt,.xls,.docx,.pptx,.xlsx'" ngf-max-size="20MB">上传附件</button>
                            <div ng-repeat="addfile in addfilesparam.addfiles track by $index" class="fl addfile" ng-if="addfilesparam.addfiles.length > 0">
                                <span type='text'>{{addfile}}</span><i class="delete icon" ng-click="delFile()"></i>
                            </div>
                            <div class="ui icon message" ng-show="is_uploading">
                                <i class="notched circle loading icon"></i>
                                <div class="content">
                                    <div class="header">请耐心等待，文件正在上传中....</div>
                                </div>
                            </div>
                        </div>-->
                        <div class="inline field">
                            <label>原文链接</label>
                            <input type="text" placeholder="原文链接" name="articalurl" ng-model="url" style="width: calc(100% - 78px)">
                        </div>
                    </div>
                    <!--文件部分-->
                    <div class="ui tab segment" data-tab="second">
                        <div class="inline fields" style="margin: 10px 0;">
                            <label style="margin-right: 2em;">附件上传</label>
                            <button ng-model="transfile" ngf-select="addUpload(transfile)" name="import_file" ngf-pattern="'.txt,.pdf,.zip,.doc,.ppt,.xls,.docx,.pptx,.xlsx'" ngf-accept="'.txt,.pdf,.zip,.doc,.ppt,.xls,.docx,.pptx,.xlsx'" ngf-max-size="20MB">上传附件</button>
                            <span type='text' style="margin-left: 8px;">{{transfile.name}}</span>
                            <div class="field" style="margin-left:10px">
                                <div id="add_sty"></div>
                            </div>
                            <div class="ui icon message" ng-show="is_uploading">
                                <i class="notched circle loading icon"></i>
                                <div class="content">
                                    <div class="header">请耐心等待，文件正在上传中....</div>
                                </div>
                            </div>
                        </div>
                        <div class="inline field required">
                            <label>文件名称</label>
                            <input type="text" name="secondfilename" ng-model="filetitle" placeholder="最多输入64个字" maxlength="64" style="width: calc(100% - 78px)">
                        </div>
                    </div>
                    <!--链接部分-->
                    <div class="ui tab segment" data-tab="third">
                        <div class="inline field required">
                            <label>文章标题</label>
                            <input type="text" placeholder="最多输入64个字" name="thirdarticaltitle" ng-model="urltitle" maxlength="64" style="width: calc(100% - 78px)">
                        </div>
                        <div class="inline fields">
                            <label style="margin-right: 2em;">封面图片</label>
                            <button class="cont_f_btn1" ng-model="fileimg" ngf-select="addImgChange($file,sign.third)">上传图片</button>

                            <div class="ui checkbox" style="margin-left:10px" ng-click="thirdtabcheckbox()">
                                <input type="checkbox" name="addthirdtabchk" id="addthirdtabchk" ng-disabled="thirdchkdisabled">
                                <label>是否在正文显示</label>
                            </div>
                            <div class="ui icon message" ng-show="is_uploadingimg">
                                <i class="notched circle loading icon"></i>
                                <div class="content">
                                    <div class="header">请耐心等待，文件正在上传中....</div>
                                </div>
                            </div>
                        </div>
                        <div class="inline fields">
                            <div ng-show='previewfileimg' class="cover_img">
                                <div class="add_img">
                                    <img ngf-src="previewfileimg" width="108px" height="108px" />
                                    <div class="x_icon" ng-click="delthirdimg()"></div>
                                </div>
                            </div>
                        </div>
                        <div class="field">
                            <label>摘要上传</label>
                            <textarea ng-model='urlabstract' name="thirdarticalabstract" placeholder="" maxlength="120"></textarea>
                        </div>
                        <div class="inline field required">
                            <label>原文链接</label>
                            <input type="text" placeholder="原文链接" name="thirdarticalurl" ng-model="outerUrl" style="width: calc(100% - 78px)">
                        </div>
                    </div>
                    <!-- 文字部分 -->
                    <div class="ui tab segment" data-tab="four">
                        <textarea ng-model="textcontent" rows="6" name="content" maxlength="600" placeholder="在这里输入文字..."></textarea>
                    </div>
                    <!-- 图片部分 -->
                    <div class="ui tab segment imgsegment" data-tab="five">
                        <div class="imgsegment_add">
                            <div><i class="big add icon" ng-model="uploadimg" ngf-select="addfivetabimg(uploadimg)" ngf-pattern="'.gif,.GIF,.jpg,.JPG,.jpeg,.JPEG,.bmp,BMP,.png,.PNG,.swf,.SWF'" ng-model='file' ngf-accept="'.gif,.GIF,.jpg,.JPG,.jpeg,.JPEG,.bmp,BMP,.png,.PNG,.swf,.SWF'"></i></div>
                            <div>上传图片</div>
                        </div>
                        <div class="ui icon message" ng-show="is_upimg">
                            <i class="notched circle loading icon"></i>
                            <div class="content">
                                <div class="header">请耐心等待，文件正在上传中....</div>
                            </div>
                        </div>
                        <div class="imgsegment_up">
                            <!--<img src="dist/images/cat.png" style="width: 100px">-->
                            <img ngf-src="uploadimg" style="width: 100px">
                            <span>{{uploadimg.name}}</span>
                            <span><a href="" class="delete" ng-click="delfifthimg()">删除</a></span>
                        </div>
                    </div>
                </div>
            </form>
        </div>
        <div class="message_right">
            <div class="ui tab active" data-tab="first">
                <div class="show_top" id="top1">
                    <div class="coverimg">
                        <div class="covertext" ng-click="tabpreview(0)">
                            <div ng-repeat="(k,v) in filelist">
                                <img ng-if="k == 0" ngf-src="v.img" />
                            </div>
                        </div>
                        <div class="covertitle">标题</div>
                    </div>
                    <!--<div class="item_action">
                        <span>
                            <i class="large angle up icon"></i>
                            <i class="large angle down icon"></i>
                        </span>
                        <i class="large trash icon"></i>
                    </div>-->
                </div>
                <div class="show_items" id="items1">

                </div>
                <div class="show_bottom" id="bottom1">
                    <div class="add_item" ng-click="addimgpreview()"><i class="big add icon"></i></div>
                </div>
            </div>
            <div class="ui tab" data-tab="second"></div>
            <div class="ui tab" data-tab="third">
                <div class="show_top" id="top3">
                    <div class="coverimg">
                        <div class="covertext" ng-click="tabpreviewimg(0)">
                            <div ng-repeat="(k,v) in filelistimg">
                                <img ng-if="k == 0" ngf-src="v.img" />
                            </div>
                        </div>
                        <div class="covertitle">标题</div>
                    </div>
                </div>
                <div class="show_items" id="items3">

                </div>
                <div class="show_bottom" id="bottom3">
                    <div class="add_item" ng-click="addimgpreviewinfivetab()"><i class="big add icon"></i></div>
                </div>
            </div>
            <div class="ui tab" data-tab="four"></div>
            <div class="ui tab" data-tab="five">
                <div class="show_img" style="margin: 20px 40px; padding: 10px; border-radius: 4px; border: 1px solid #ccc" ng-if="uploadimg">
                    <img ngf-src="uploadimg" style="width: 100%;">
                </div>

            </div>
        </div>
    </div>
    <!-- 发送及定时发送 -->
    <div class="ui form" style="margin-bottom: 12px">
        <div class="inline fields">
            <label for="time">发送时间</label>
            <div class="field">
                <div class="ui radio checkbox" ng-click="tempradioevent()">
                    <input type="radio" name="time" tabindex="0" class="hidden" id="temporarytime">
                    <label>立即发送</label>
                </div>
            </div>
            <div class="field">
                <div class="ui radio checkbox" ng-click="regradioevent()">
                    <input type="radio" name="time" tabindex="0" class="hidden" id="regulartime">
                    <label>定时发送</label>
                </div>
            </div>
            <div class="field">
                <div class="ui left icon input">
                    <input type="text" ng-model="search_param.start_time" style="width:160px;" datetimepicker="" id="s_start_time" format="YYYY-MM-DD" class="input_text ng-pristine ng-valid ng-touched" placeholder="开始时间">&nbsp;
                    <i class="calendar icon"></i>
                </div>
            </div>
        </div>
        <div class="inline fields">
            <label for="secret" style="width: 4em">保密性</label>
            <div class="field">
                <div class="ui checkbox" ng-click="safechkbox()">
                    <input type="checkbox" name="secret" id="secret" tabindex="0" class="hidden">
                    <label>保密</label>
                </div>
            </div>
        </div>
        <div class="field">
            <div class="ui button time_send" ng-click="messagesendlist(signnum)">发送</div>
        </div>
    </div>

    <!-- 添加发送对象 -->
    <div class="ui small add modal">
        <i class="close icon"></i>
        <div class="header_h4">选择发送对象</div>
        <div class="content">
            <form>
                <div class="ui form">
                    <div class="fields">
                        <!-- <div class="field"> -->
                        <div class="ui input" style="width: 100%">
                            <select class="ui fluid search dropdown" multiple="" id="multipledowntest">
                                <option value="">搜索标签、套餐、或订户</option>
                                <option value="{{rep.val}}" ng-repeat="rep in qyappsend">{{rep.name}}</option>
                            </select>
                        </div>
                    </div>
                    <div>
                        <div class="ui pointing secondary menu send">
                            <a class="item active" data-tab="group" ng-click="tabchange(num.pck)">套餐</a>
                            <a class="item" data-tab="tag" ng-click="tabchange(num.sign)">标签</a>
                        </div>
                        <div class="ui tab active" data-tab="group">
                            <div class="ui tiny breadcrumb">
                                <!--<a class="section" ng-click="tabchange()">全部套餐</a>
                                <i class="right angle icon divider"></i>
                                <div class="active section">归属套餐人员</div>-->
                                <div class="active section">全部套餐</div>
                            </div>
                            <div ng-repeat="ob in obj">
                                <div class="ui checkbox">
                                    <input type="checkbox" name="chk[]" value="{{ob.val}}" ng-click="addchk(ob.val)">
                                    <label ng-click="changeobject(ob.val)">{{ob.name}}</label>
                                </div>
                            </div>
                        </div>
                        <div class="ui tab" data-tab="tag">
                            <div class="ui tiny breadcrumb">
                                <div class="active section">其他标签</div>
                            </div>
                            <div ng-repeat="ob in obj">
                                <div class="ui checkbox">
                                    <input type="checkbox" name="chk[]" value="{{ob.k}}" ng-click="addchk(ob.k)">
                                    <label>{{ob.v}}</label>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
        <div class="actions">
            <button class="ui green button positive">确定</button>
            <button class="ui grey button negative">取消</button>
        </div>
    </div>
    <!-- 选择发送内容 -->
    <div class="ui large delivery modal">
        <i class="close icon"></i>
        <div class="header_h4">选择发送内容</div>
        <div class="content">
            <form id="knowledgenodeform">
                <div class="del_wrap">
                    <div class="del_left">
                        <div class="treemenu boxed">树结构</div>
                    </div>
                    <div class="del_right">
                        <table class="ui yellow celled striped table" style="min-width: 800px;">
                            <thead>
                                <tr>
                                    <th style="width:50px">选择</th>
                                    <th style="width:160px;">发布时间</th>
                                    <th>文章标题</th>
                                    <th style="width:160px;">作者</th>
                                    <th style="width:100px;">所属部门</th>
                                    <th style="width:80px">类型</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="(k,v) in messagesource">
                                    <td>
                                        <input type="radio" name="radio" id="radiobutton" ng-click="radiounchecded(v.knowledge_id)">
                                        <label></label>
                                    </td>
                                    <td>{{v.create_time}}</td>
                                    <td title="点击查看全部文章">{{v.title}}</td>
                                    <td>{{v.pen_name}}</td>
                                    <td>{{v.sector_name}}</td>
                                    <td ng-if="v.msg_type == 1">图文</td>
                                    <td ng-if="v.msg_type == 2">文件</td>
                                    <td ng-if="v.msg_type == 3">外链</td>
                                </tr>
                            </tbody>
                        </table>
                        <div class="ui pagination menu fr " ng-show="messagesourcepage.pageAll > 1" class="ui borderless pagination menu" jspagination page-object="messagesourcepage" page-func="KnowledgeDatalist"></div>
                    </div>
                </div>
            </form>
        </div>
        <div class="actions">
            <button class="ui green button positive">确定</button>
            <button class="ui grey button negative">取消</button>
        </div>
    </div>

    <script type="text/javascript">
        $('.menu .item')
            .tab();
        $('#firstdropdown').dropdown();
        $('#qyapp').dropdown();
        $('.ui.checkbox').checkbox();
        //tab切换菜单 
        // $('.menu .item').tab();
        //图片tab添加图片
        $('.imgsegment .add').on("click", function() {
            $('.imgsegment_add').hide();
            // 传递上传图片的示例图和名字
            $('.imgsegment_up').show();
        })

        // //删除上传图片
        $('.imgsegment_up .delete').on("click", function() {
            $(this).closest('.imgsegment_up').hide();
            $('.imgsegment_add').show()
        })

        //添加右侧内容 

        //delivery弹出层
    </script>
</div>